// An imaginary article submission from a bad user
//  it will redirect anyone to example.com if the code is run in a browser
$userInput = "I am going to hax0r your site, hahaha!
	<script type='text/javascript'>
	window.location = 'http://www.google.com/'
	</script>'";
	
//Lets make it safer before we use it
//$userInputEntities = htmlentities($userInput);

//Now we can display it
echo $userInput;//$userInputEntities;